﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WLG.Model.NotifyContext;
using System.ComponentModel;
using System.Windows.Controls;
using System.Windows.Data;

namespace WLG.WPFView.Helpers
{
    public class NotifySummaryTypeConverter : IValueConverter 
    {
        public HTMLToXamlHelper helper = new HTMLToXamlHelper();

        #region IValueConverter Members

        public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
        {
            return helper.GetXamlFromHTML(value.ToString());
        }

        public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
        {
            throw new NotImplementedException();
        }

        #endregion
    }
}
